// 主要进行: 检索和重置按钮功能实现
import { ref } from 'vue'
import ContentPage from '@/components/content-page'
export function useSearchPage() {
  const contentRef = ref<InstanceType<typeof ContentPage>>()

  const ResetClick = () => {
    contentRef.value?.getPageData()
  }
  const QueryClick = (queryInfo: any) => {
    console.log(queryInfo)

    contentRef.value?.getPageData(queryInfo)
  }
  return {
    contentRef,
    ResetClick,
    QueryClick
  }
}
